package com.mzy.NetworkProgram.HttpClient.Utils;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author mzy
 * @Date 2022/6/2 10:16
 * @Version 1.0
 */
public class Test {
    /**
     * 底层实现的挺好的一个工具类
     * @param args
     */
    public static void main(String[] args) {
//        String s = HttpUtils.doGet("http://localhost:8989/bus/agent/mg");
//        System.out.println(s);

        String s1 = HttpUtils.doPost("https://192.168.0.138:8989/bus/agent/mg", "测试一下", "POST");
        System.out.println(s1);
    }
}